<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>EOS.IO: eosio::string Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeos.html">eos</a></li><li class="navelem"><a class="el" href="classeos_1_1string.html">string</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classeos_1_1string-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::string Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="string_8hpp_source.html">string.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad90c880f029de1b56f9fb811d601fe4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#ad90c880f029de1b56f9fb811d601fe4c">string</a> ()</td></tr>
<tr class="separator:ad90c880f029de1b56f9fb811d601fe4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33b404b5178e980f3adcfa5a57853d9a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a33b404b5178e980f3adcfa5a57853d9a">string</a> (<a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> s)</td></tr>
<tr class="separator:a33b404b5178e980f3adcfa5a57853d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab690a6ccc27644f4bdf36e1b1fed4467"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#ab690a6ccc27644f4bdf36e1b1fed4467">string</a> (char *d, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> s, bool copy)</td></tr>
<tr class="separator:ab690a6ccc27644f4bdf36e1b1fed4467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd8f61db294e0b5bb812f4a1542198d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#aebd8f61db294e0b5bb812f4a1542198d">string</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;obj)</td></tr>
<tr class="separator:aebd8f61db294e0b5bb812f4a1542198d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1150d62d136d78124cf713c1a484f505"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a1150d62d136d78124cf713c1a484f505">~string</a> ()</td></tr>
<tr class="separator:a1150d62d136d78124cf713c1a484f505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b5ba99817c8f40cc57b5a9d83ad1c2a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a0b5ba99817c8f40cc57b5a9d83ad1c2a">get_size</a> () const </td></tr>
<tr class="separator:a0b5ba99817c8f40cc57b5a9d83ad1c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75243f79c55baaf1adf30073607c6ae3"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a75243f79c55baaf1adf30073607c6ae3">get_data</a> () const </td></tr>
<tr class="separator:a75243f79c55baaf1adf30073607c6ae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7016991f9aa5d06eb8d638bec96a8b8"><td class="memItemLeft" align="right" valign="top">const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#ae7016991f9aa5d06eb8d638bec96a8b8">is_own_memory</a> () const </td></tr>
<tr class="separator:ae7016991f9aa5d06eb8d638bec96a8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83f791ad86b15353d74cd5e0eebbec71"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a83f791ad86b15353d74cd5e0eebbec71">get_refcount</a> () const </td></tr>
<tr class="separator:a83f791ad86b15353d74cd5e0eebbec71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe41799f953ad70eeba8da3ce05310a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#afe41799f953ad70eeba8da3ce05310a2">assign</a> (char *d, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> s, bool copy)</td></tr>
<tr class="separator:afe41799f953ad70eeba8da3ce05310a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72630676a6de4f9e36da4207f17f1ec8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeos_1_1string.html">string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a72630676a6de4f9e36da4207f17f1ec8">substr</a> (<a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> offset, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> substr_size, bool copy)</td></tr>
<tr class="separator:a72630676a6de4f9e36da4207f17f1ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab03ec98576f7bd0cba8ce356b4314e56"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#ab03ec98576f7bd0cba8ce356b4314e56">operator[]</a> (const <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> index)</td></tr>
<tr class="separator:ab03ec98576f7bd0cba8ce356b4314e56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e571d8e0ba60930c38bb91874ae42c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a2e571d8e0ba60930c38bb91874ae42c9">operator=</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;obj)</td></tr>
<tr class="separator:a2e571d8e0ba60930c38bb91874ae42c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a12d39139e4dbae7b0c88e02193f533"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a0a12d39139e4dbae7b0c88e02193f533">operator+=</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;str)</td></tr>
<tr class="separator:a0a12d39139e4dbae7b0c88e02193f533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0949ef543b02f88c39645f32a63ab6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a6a0949ef543b02f88c39645f32a63ab6">compare</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;str) const </td></tr>
<tr class="separator:a6a0949ef543b02f88c39645f32a63ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af914bab4fa114dced3273edd999e17fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#af914bab4fa114dced3273edd999e17fb">print</a> () const </td></tr>
<tr class="separator:af914bab4fa114dced3273edd999e17fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a91fd184cf0f9333c217130cebd4d7876"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a91fd184cf0f9333c217130cebd4d7876">operator&lt;</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;lhs, const <a class="el" href="classeos_1_1string.html">string</a> &amp;rhs)</td></tr>
<tr class="separator:a91fd184cf0f9333c217130cebd4d7876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf763aa94a8644b190f43d6b026893a2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#abf763aa94a8644b190f43d6b026893a2">operator&gt;</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;lhs, const <a class="el" href="classeos_1_1string.html">string</a> &amp;rhs)</td></tr>
<tr class="separator:abf763aa94a8644b190f43d6b026893a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747feeacef8c26d89dafe7a9e32e2439"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a747feeacef8c26d89dafe7a9e32e2439">operator==</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;lhs, const <a class="el" href="classeos_1_1string.html">string</a> &amp;rhs)</td></tr>
<tr class="separator:a747feeacef8c26d89dafe7a9e32e2439"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8b27a889dc5ffef4a9cc7a1d1905b9c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#ab8b27a889dc5ffef4a9cc7a1d1905b9c">operator!=</a> (const <a class="el" href="classeos_1_1string.html">string</a> &amp;lhs, const <a class="el" href="classeos_1_1string.html">string</a> &amp;rhs)</td></tr>
<tr class="separator:ab8b27a889dc5ffef4a9cc7a1d1905b9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ca7a7a35654ab6f2a2683b7d329442"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeos_1_1string.html">string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeos_1_1string.html#a68ca7a7a35654ab6f2a2683b7d329442">operator+</a> (<a class="el" href="classeos_1_1string.html">string</a> lhs, const <a class="el" href="classeos_1_1string.html">string</a> &amp;rhs)</td></tr>
<tr class="separator:a68ca7a7a35654ab6f2a2683b7d329442"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad90c880f029de1b56f9fb811d601fe4c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::string::string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default constructor </p>

</div>
</div>
<a class="anchor" id="a33b404b5178e980f3adcfa5a57853d9a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::string::string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor to create string with reserved space </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>size to be reserved (in number o) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab690a6ccc27644f4bdf36e1b1fed4467"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::string::string </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>copy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor to create string with given data and size </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">d</td><td>data </td></tr>
    <tr><td class="paramname">s</td><td>size of the string (in number of bytes) </td></tr>
    <tr><td class="paramname">copy</td><td>true to have the data copied and owned by the object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aebd8f61db294e0b5bb812f4a1542198d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::string::string </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1150d62d136d78124cf713c1a484f505"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::string::~string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="afe41799f953ad70eeba8da3ce05310a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeos_1_1string.html">string</a>&amp; eosio::string::assign </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>copy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign string with new data and size </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">d</td><td>data </td></tr>
    <tr><td class="paramname">s</td><td>size (in number of bytes) </td></tr>
    <tr><td class="paramname">copy</td><td>true to have the data copied and owned by the object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current string </dd></dl>

</div>
</div>
<a class="anchor" id="a6a0949ef543b02f88c39645f32a63ab6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga0d2e949ab6a1bb62f1b295cc79bc1f60">int32_t</a> eosio::string::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a75243f79c55baaf1adf30073607c6ae3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* eosio::string::get_data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a83f791ad86b15353d74cd5e0eebbec71"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> eosio::string::get_refcount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0b5ba99817c8f40cc57b5a9d83ad1c2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> eosio::string::get_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae7016991f9aa5d06eb8d638bec96a8b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const bool eosio::string::is_own_memory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0a12d39139e4dbae7b0c88e02193f533"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeos_1_1string.html">string</a>&amp; eosio::string::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2e571d8e0ba60930c38bb91874ae42c9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeos_1_1string.html">string</a>&amp; eosio::string::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab03ec98576f7bd0cba8ce356b4314e56"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">char eosio::string::operator[] </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af914bab4fa114dced3273edd999e17fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void eosio::string::print </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a72630676a6de4f9e36da4207f17f1ec8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeos_1_1string.html">string</a> eosio::string::substr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>substr_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>copy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create substring from current string </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>offset from the current string's data </td></tr>
    <tr><td class="paramname">substr_size</td><td>size of the substring </td></tr>
    <tr><td class="paramname">copy</td><td>true to have the data copied and owned by the object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>substring of the current string </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ab8b27a889dc5ffef4a9cc7a1d1905b9c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a68ca7a7a35654ab6f2a2683b7d329442"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeos_1_1string.html">string</a> operator+ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classeos_1_1string.html">string</a>&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a91fd184cf0f9333c217130cebd4d7876"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a747feeacef8c26d89dafe7a9e32e2439"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abf763aa94a8644b190f43d6b026893a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeos_1_1string.html">string</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="string_8hpp_source.html">string.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
